//
//  JXAlertview.h
//  基本框架
//
//  Created by runone02 on 2018/7/24.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomAlertDelegete <NSObject>

- (void)btnindex:(int)index :(int)tag;

@end

@interface JXAlertview : UIImageView
/**标题 */
@property (nonatomic, strong) UILabel *title;
/**消息 */
@property (nonatomic, strong) UILabel *message;
/**取消按钮*/
@property (nonatomic, strong) UIButton *cancelBtn;
/**确定按钮 */
@property (nonatomic, strong) UIButton *sureBtn;
@property (nonatomic,retain) id<CustomAlertDelegete> delegate;
//初始化
- (void)initwithtitle:(NSString *)titleStr andcommitbtn:(NSString *)commit andStr:(NSString *)Str;

//显示
- (void)show;

//显示视图
- (void)showView;

//隐藏
- (void)dismmis;
@end
